package com.zerotwo.exam;

import cn.hutool.json.JSONUtil;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.Map;


/**
 * @author 02
 * @version 1.0
 * @Date 2024/7/5
 * @Description 路由参数
 */
@Data
public class VueRouteLocationRaw {
    String name;
    String path;
    Map<String,Object> params;
    Map<String,Object> query;
    @JsonIgnore
    public String getJson(){
        return JSONUtil.toJsonStr(this);
    }
}
